import axios from "axios";

export const recordInsert = (params) => {
    return axios({
        url: 'record/insertRequest',
        method: 'POST',
        params
    })
}
export const recordUpdate = (params) => {
    return axios({
        url: 'record/updateRequest',
        method: 'POST',
        params
    })
}

export const recordGetList = (params) => {
    return axios({
        url: 'record/getListRequest',
        method: 'GET',
        params
    })
}

export const countRecord = (params) => {
    return axios({
        url: 'record/countRequest',
        method: 'GET',
        params
    })
}

export const fun1 = (params) => {
    return axios({
        url: 'record/fun1',
        method: 'GET',
        params
    })
}

export const fun2 = (params) => {
    return axios({
        url: 'record/fun2',
        method: 'GET',
        params
    })
}

export const fun3 = (params) => {
    return axios({
        url: 'record/fun3',
        method: 'GET',
        params
    })
}

export const fun4 = (params) => {
    return axios({
        url: 'record/fun4',
        method: 'GET',
        params
    })
}